package com.workflow.workflowproject.entity.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class FlowNodeMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = 1367367682721804482L;

    @Schema(description = "任务ID")
    private String key;

    @Schema(description = "任务节点ID")
    private String taskNodeId;

    @Schema(description = "任务名称")
    private String name;

    @Schema(description = "审批信息")
    private String flowMessage;

    @Schema(description = "审批时间")
    private String approverTime;

    @Schema(description = "是否通过")
    private Boolean isPass;

    @Schema(description = "审批人")
    private String approver;

    @Schema(description = "审批人ID")
    private String approverId;

    @Schema(description = "审批评论")
    private String approvalOpinion;

    @Schema(description = "审批附件")
    private List<String> approvalOpinionFilePath;

}
